package com.hoshiicloud.market.entity.activities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author:campchen
 * @Date:Created in 下午 04:41 2019/8/23
 * @PACKAGENAME com.hoshiicloud.market.entity.activities
 * @Description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "购买时间")
public class PurchaseTime implements Serializable {

    public static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "",value = "开始时间",example = "")
    private LocalDateTime startTime;

    @ApiModelProperty(name = "",value = "结束时间",example = "")
    private LocalDateTime endTime;

    @ApiModelProperty(name = "",value = "是否周期重复 0-否 1-是",example = "")
    private Integer periodicRepetition;

    @ApiModelProperty(name = "",value = "周期 周期重复 为否时 填‘一天’ 周期有 每天/每月‘？’号/每周周‘？’",example = "")
    private String periodic;
}
